<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">

  <!-- sidebar: style can be found in sidebar.less -->
  <section class="sidebar">

    <!-- Sidebar user panel (optional) -->
    <div class="user-panel">
      <div class="pull-left image">
        <img src="/assets/libs/admin-lte/dist/img/avatar5.png" class="img-circle" alt="User Image">
      </div>
      <div class="pull-left info">
        <p>{{ _globals.user.username }}</p>
        <!-- Status -->
        <a href="#"><i class="fa fa-circle text-success"></i> Online</a>
      </div>
    </div>

    <!-- search form (Optional) -->
    <form action="#" method="get" class="sidebar-form">
      <div class="input-group">
        <input type="text" name="q" class="form-control" placeholder="Search...">
              <span class="input-group-btn">
                <button type="submit" name="search" id="search-btn" class="btn btn-flat"><i class="fa fa-search"></i></button>
              </span>
      </div>
    </form>
    <!-- /.search form -->

{% set _route = _globals.config.urls.route %}

    <!-- Sidebar Menu -->
    <ul class="sidebar-menu">
      <li class="header">HEADER</li>
      <!-- Optionally, you can add icons to the links -->
      <li class="{{ _globals.helper.strpos(_route, 'admin/content') ? 'active' : '' }}"><a href="/admin/content"><i class="fa fa-list"></i> <span>Contents</span></a></li>
      <li><a href="/admin/task"><i class="fa fa-tasks"></i> <span>Tasks</span></a></li>
      <li class="{{ _globals.helper.strpos(_route, 'admin/user') ? 'active' : '' }}"><a href="/admin/user"><i class="fa fa-users"></i> <span>Users</span></a></li>
      <li><a href="/admin/setting"><i class="fa fa-gears "></i> <span>Settings</span></a></li>
      <li class="header">LABELS</li>
      <li><a href="/admin/profile"><i class="fa fa-user"></i> <span>Profile</span></a></li>
      <li><a href="/admin/friend"><i class="fa fa-link"></i> <span>Friends</span></a></li>
      <li class="treeview">
        <a href="#"><i class="fa fa-link"></i> <span>Multilevel</span> <i class="fa fa-angle-left pull-right"></i></a>
        <ul class="treeview-menu">
          <li><a href="#">Link in level 2</a></li>
          <li><a href="#">Link in level 2</a></li>
        </ul>
      </li>
    </ul><!-- /.sidebar-menu -->
  </section>
  <!-- /.sidebar -->
</aside>